package edu.zut.pioneer.base.service;


import java.io.Serializable;
import java.util.List;

import edu.zut.pioneer.base.domain.BaseTree;


public interface BaseTreeManager<T extends BaseTree<T, PK>, PK extends Serializable> extends BaseManager<T, PK> {


    public List<T> getAncestors(PK id);

    public List<T> getChildren(PK id);

    public List<T> getDescendants(PK id);

    public List<T> getRoot();

}
